import { request } from '@/utils/request.js'

// 获取投诉-建议列表
export function apiGetFeedbackList(data = {}) {
	return request({
		url: "/userFeedback/list",
		data,
	})
}

// 获取投诉-建议详情
export function apiGetFeedbackDetail(data = {}) {
	return request({
		url: "/userFeedback/detail",
		data,
	})
}

// 提交投诉-建议表单
export function feedbackSubmit(data = {}) {
	return request({
		url: "/userFeedback/submit",
		data,
		method: "post",
	})
}




